package com.daoxuehao.baseframework.model.api;


import com.daoxuehao.baseframework.model.beans.BaseResponse;
import com.daoxuehao.baseframework.model.beans.IpInfo;

import java.util.Map;

import retrofit.http.FieldMap;
import retrofit.http.FormUrlEncoded;
import retrofit.http.POST;
import rx.Observable;


public interface ApiService {

    @FormUrlEncoded
    @POST("service/getIpInfo.php")
    Observable<BaseResponse<IpInfo>> getIpInfo(@FieldMap Map<String, String> map);

}
